package com.happyfamily.springboot.crowdsourcingplatform.service.sun;

import com.happyfamily.springboot.crowdsourcingplatform.model.Work;
import org.apache.commons.fileupload.FileItem;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface WorkService
{
	public abstract List<Work> getList(Integer limit, Integer end, String uaccount);

	public abstract int getSum(String uaccount);

	public abstract boolean deleteWork(Integer wid,String fname,HttpServletRequest request);

	public abstract boolean addWork(HttpServletRequest request, MultipartFile file);
}